package cn.iocoder.yudao.module.wms.controller.admin.batch.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 批号设置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BatchRespVO {

    @Schema(description = "批次id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15281")
    private Long id;

    @Schema(description = "前缀", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("前缀")
    private String fname;

    @Schema(description = "标识", example = "张三")
    @ExcelProperty("标识")
    private String tname;

    @Schema(description = "流水长度", example = "李四")
    @ExcelProperty("流水长度")
    private Integer sname;

    @Schema(description = "当前流水", example = "李四")
    private Long nowSerial;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}